package com.beidouapp.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.session.RowBounds;

import com.beidouapp.domain.pojo.ChinaData;
import com.beidouapp.domain.pojo.Engineer;
import com.beidouapp.domain.pojo.EngineerPos;
import com.beidouapp.domain.pojo.StatisData;

public interface EngineerPosMapper {
	public List<EngineerPos> getEngineerPosList();

	Map<String, Object> getDistributeTotal();

	public List<Engineer> findEngineersByMap(RowBounds rowBounds,
			Map<String, Object> params);

	public Integer findEngineersCountByMap(Map<String, Object> params);

	void save(Engineer engineer);

	void update(Engineer engineer);

	Engineer getEngineerById(Integer id);
	
	 Map<String, Object> getEngineerDetailById(Integer id);

	Engineer getUserNameByEngineer(String userName);
	
	public List<StatisData> getStatisDataListByMap(RowBounds rowBounds,
			Map<String, Object> params);

	public Integer findStatisDataCountByMap(Map<String, Object> params);
	
	
	public List<StatisData> getStatisCityDataByMap(RowBounds rowBounds,
			Map<String, Object> params);

	public Integer findStatisCityDataCountByMap(Map<String, Object> params);
	
	//适用于获取全国数据 不带分页参数
	public List<ChinaData> getChinaAllDataList();
	
	public List<StatisData> getStatisCityDataByMap(
			Map<String, Object> params);
	
	
	public List<StatisData> getChinaCityDataList(Map<String, Object> params);
	
	
	public List<ChinaData> getChinaProvinceDataList(
			Map<String, Object> params);
	public Integer getEngineersCountByName(String name);
}